﻿namespace Awsc.DataAcquisitionSys.Core.Services.DataAcquisition.DataCollectors.Sensors
{
    public class StringWeightSensorConfig
    {
        /// <summary>
        /// 最小屈服压力
        /// </summary>
        public double Fy { get; set; }
        /// <summary>
        /// 外径
        /// </summary>
        public double OD { get; set; }
        /// <summary>
        /// 内径
        /// </summary>
        public double ID { get; set; }
        /// <summary>
        /// 尾部约束因子
        /// </summary>
        public double K { get; set; }
        /// <summary>
        /// 弹性模量
        /// </summary>
        public double E { get; set; }
        /// <summary>
        /// 根据模式计算值
        /// </summary>
        public StringWeightModeEnum StringWeightMode { get; set; }
        /// <summary>
        /// 液压缸内径
        /// </summary>
        public double Lift_Cylinder_R { get; set; }
        /// <summary>
        /// 液压缸外径
        /// </summary>
        public double Lift_Cylinder_Axle_R { get; set; }
        /// <summary>
        /// 举升力修正系数
        /// </summary>
        public double LiftRadio { get; set; }
        /// <summary>
        /// 下压力修正系数
        /// </summary>
        public double PressRadio { get; set; }
        /// <summary>
        /// 空载上提压力
        /// </summary>
        public double NullLift { get; set; }
        /// <summary>
        /// 空载下压压力
        /// </summary>
        public double NullPress { get; set; }
        /// <summary>
        /// 升降机重量
        /// </summary>
        public double PressZero { get; set; }
    }
    public enum StringWeightModeEnum
    {
        LiftAndPress = 0,
        Lift = 1,
        Press = 2
    }
}
